package com.lanling.eduservice.service;

import com.lanling.eduservice.entity.EduChapter;
import com.lanling.eduservice.entity.chapter.ChapterVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 胡振华
 * @since 2020-11-10
 */
public interface EduChapterService extends IService<EduChapter> {

        List<ChapterVo> getAllChapter(String courseId);


        boolean deleteChapter(String chapterId);

        void removeChapterByCourseId(String courseId);
        }
